<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
        document.cookie='user=blue';//添加
        document.cookie='password=123456';
        alert(document.cookie);
    </script>
</head>
<body>

</body>
</html>